package com.kaibes.platform.currency;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ModelAttribute;

import com.kaibes.platform.currency.util.CurrencyUtils;

@ControllerAdvice
public class CurrencyControllerAdvice {

    @Autowired
    private CurrencyUtils currencyUtils;
    
    @ModelAttribute("currencyUtils")
    public CurrencyUtils currencyUtils() {
        return currencyUtils;
    }
}
